PCI ID Parser
This is a library that lets you use a PCI ID database, such as one shipped with Linux distros or from https://pci-ids.ucw.cz/. It can either read the locally installed file or fetch one from the website.
Usage
use Database;
let db = get_online.unwrap;
Alternatively, you can read the local DB:
let db = read.unwrap;
Get device:
let vendor = db.vendors.get.unwrap;
assert_eq!;
let device = vendor.devices.get.unwrap;
assert_eq!;
Get full device and subdevice info:
let info = db.get_device_info;